﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace DFXEditorApp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            EditorApp editor = new EditorApp();
            MessageHandler handler = editor.MessageHandler;

            Application.AddMessageFilter(handler);
            Application.Idle += new EventHandler(handler.Application_Idle);
            Application.Run(editor);
        }
    }
}
